<template>
  <el-form label-position="left" label-width="124px" ref="diaForm" :model="data">
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="设备名称：" prop="equipmentName">
          <el-input size="small" v-model="data.equipmentName"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障停机时间：" prop="faultTime">
          <el-input size="small" v-model="data.faultTime"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="操作人：" prop="operator">
          <el-input size="small" v-model="data.operator"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障情况描述：" prop="faultContent">
          <el-input size="small" v-model="data.faultContent"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修开始时间：" prop="serviceTimeStart">
          <el-input size="small" v-model="data.serviceTimeStart"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="维修结束时间：" prop="serviceTimeEnd">
          <el-input size="small" v-model="data.serviceTimeEnd"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="维修负责人：" prop="servicemanInCharge">
          <el-input size="small" v-model="data.servicemanInCharge"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修人员名字：" prop="serviceman">
          <el-input size="small" v-model="data.serviceman"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障原因分析：" prop="faultReason">
          <el-input size="small" v-model="data.faultReason"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修方法：" prop="serviceMethod">
          <el-input size="small" v-model="data.serviceMethod"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="提出人：" prop="proposer">
          <el-input size="small" v-model="data.proposer"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="故障恢复时间：" prop="recoverTime">
          <el-input size="small" v-model="data.recoverTime"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="检查人：" prop="inspector">
          <el-input size="small" v-model="data.inspector"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
<!--    <el-row>-->
<!--      <el-col :span="24">-->
<!--        <el-form-item label="备注：" prop="remarks">-->
<!--          <el-input-->
<!--            type="textarea"-->
<!--            :autosize="{ minRows: 2, maxRows: 4}"-->
<!--            resize="none"-->
<!--            v-model="data.remarks"-->
<!--          ></el-input>-->
<!--        </el-form-item>-->
<!--      </el-col>-->
<!--    </el-row>-->
  </el-form>
</template>

<script>
export default {
  name: 'editForm',
  props: {
    data: { type: Object }
  },
  data () {
    return {}
  }
}
</script>

<style scoped>
</style>
